package developerworks.jetty6;

import org.json.JSONException;
import org.json.JSONObject;

public class Typer extends CrudMessage {
	public String name;
	public String call_id;
	
	public Typer(String callID) {
		super();
		call_id = callID;
	}
	public JSONObject toJson() throws JSONException {
		JSONObject jsonObj = new JSONObject();
		jsonObj.put("call_id", call_id);
		return jsonObj;
	}
	public void update(String n){
		name=n;
	}
}
